package com.alibaba.luohua.product.entity;

import com.alibaba.luohua.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 物品信息表
 *
 * @author luohua
 * @date 2022年3月15日14:34:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("article")
public class ArticleEntity extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String articleName;

    private String articleCode;

    private Long organizationId;

    private Integer organizationType;

    private Long articleCategoryId;

    private Long unitDictCode;

    private String goodsNorms;

    private String fastCode;

    private String articleBarcode;

    private Long referencePrice;

    private Long supplierId;

    private Integer maxStock;

    private Integer minStock;

    private String articleBrand;

    private Long storeDictCode;

    private Long storeTypeCode;

    private Integer status;

    private Integer isDeleted;

    private Long createdId;

    private Date createdTime;

    private Long updatedId;

    private Date updatedTime;

}